//
//  JackConstantColor.h
//  JackProduct
//
//  Created by Pei on 15/11/6.
//  Copyright © 2015年 Xiaobo Pei. All rights reserved.
//

#ifndef JackConstantColor_h
#define JackConstantColor_h


#ifndef kRGB
#define kRGB(r,g,b) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1.0]
#endif

#ifndef kRGBA
#define kRGBA(r,g,b,a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a]
#endif


#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define kWhiteColor kRGB(255.0, 255.0, 255.0)
#define kBlackColor kRGB(0, 0, 0)
#define kRedColor   kRGB(255, 0, 0)

//Tab
#define kBlueColor kRGB(119, 168, 251)
#define kGreenColor  kRGB(163, 163, 163)

#define kBtnBackgroundColor kRGB(12, 108, 254)


#define kDefaultBackgroundColor kRGB(241, 246, 250)

#define kNoUserPrivilegeColor kRGB(146, 146, 146)

#endif /* JackConstantColor_h */
